import Layout from '@/layout'

const userPermRouter = {
  path: '/sys-manage',
  component: Layout,
  redirect: '/sys-manage/user',
  name: 'sys-manage',
  meta: {
    title: '权限',
    icon: 'icon'
  },
  children: [
    {
      path: 'user',
      component: () => import('@/views/_system/user/index'),
      name: 'user',
      meta: { title: '用户权限' }
    },
    {
      path: 'role',
      component: () => import('@/views/_system/role/index'),
      name: 'role',
      meta: { title: '角色权限' }
    },
    {
      path: 'orgnization',
      component: () => import('@/views/_system/organize/index'),
      name: 'orgnization',
      meta: { title: '组织权限' }
    },
    {
      path: 'approve-define',
      component: () => import('@/views/report-data/approve/index'),
      name: 'approve-define',
      meta: { title: '审批管理' }
    }
  ]
}
export default userPermRouter
